import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import AmountItem3 from "./index";

const meta = {
  title: "样式原子组件/投资分析-AmountItem3",
  component: AmountItem3,
  tags: ["autodocs"],
  argTypes: {},
  decorators: [
    (Story) => (
      <div style={{ backgroundColor: "#06112B" }}>
        <Story />
      </div>
    ),
  ],
} satisfies Meta<typeof AmountItem3>;

export default meta;
type Story = StoryObj<typeof meta>;

export const basic: Story = {
  args: {
    title: "勘察合同",
    amount: 31480.06,
    type: 1,
  },
};

export const type2: Story = {
  args: {
    title: "其他合同",
    amount: 52638.8,
    type: 2,
  },
};
